<template lang="pug">
    .paging
        .paging-wrap
            router-link.active(:to="{name: 'index'}") 首页
            router-link(:to="{name: 'index'}") 上一页
            router-link(:to="{name: 'index'}") 1
            router-link(:to="{name: 'index'}") 2
            router-link(:to="{name: 'index'}") 3
            span.blank ...
            router-link(:to="{name: 'index'}") 10
            router-link(:to="{name: 'index'}") 11
            router-link(:to="{name: 'index'}") 下一页
            router-link(:to="{name: 'index'}") 尾页
</template>

<style lang="postcss">
    @import 'css/variables.css';

    .paging{
        @extend %YaHeiUI;
        text-align: center;
        margin-bottom: 40px;
        color: #4A4A4A;
        .paging-wrap{
            height: 40px;
            line-height: 40px;
            @extend %inlineblock;
            border-right: 1px solid #C6C6C6;
            border-bottom: 1px solid #C6C6C6;
        }
        a, .blank{
            height: 40px;
            line-height: 40px;
            @extend %inlineblock;
            padding: 0 10px;
            min-width: 20px;
            border-top: 1px solid #C6C6C6;
            border-left: 1px solid #C6C6C6;
            text-decoration: none;
        }
        a.active, a:hover{
            color: #fff;
            @extend %YaHeiUI-bold;
            background: #178067;
        }
    }
</style>
